﻿@model IList<ProductOverviewModel.ProductStoreModel>

@using Nop.Core.Domain.Catalog
@using Nop.Core.Infrastructure
@using Nop.Services.Catalog
@using Nop.Web.Models.Catalog
@if (Model.Count > 0)
{
    <li class="left-menu-category-item">
        <span class="title category-hover">
        @{
            <text>TOP STORES</text>
        }
        </span>

        <div class="subcategory-hover">
            <div class="subcategory-wrapper">
                <ul class="subcategories left-menu-list">
                        @foreach (var store in Model)
                        {
                            <li class="@(store.IsActive ? "active" : "inactive")">
                            <a href="@Url.RouteUrl("Store", new { storeId = store.Id, SeName = store.SeName })">@store.Name</a>
                            </li>
                        }
                </ul>

                <div class="viewall">
                    @*add Stor page*@
                    <a href="@Url.RouteUrl("StoreList")">@T("Stores.ViewAll")</a>
                </div>
            </div>
        </div>

    </li>
}